<!DOCTYPE html>
<html lang="en" class="h100">
<head>
    <title>{$web_title}</title>
    {include file='public/public_head' /}
</head>
<body>
    <div class="main-wrap detail-wrap over">
        <div class="tips-wrap">
            <div class="tips-title">“应公安部门及防疫工作要求，实名登记后入场”</div>
        </div>
        <div class="content-item-wrap pic-wrap detail-pic-wrap">
            <img src="__INDEX__/img/img_bg_result_top.png" alt="" class="pic-img detail-img" />
        </div>
        <div class="container">
            <div class="content-item-wrap sign-form-wrap sign-result-wrap text-c mb-3">
                <div class="result-item-wrap pic-wrap result-icon-wrap">
                    <img src="__INDEX__/icon/icon_success.png" alt="" class="pic-img success-icon" />
                    <p class="result-title">报名成功！</p>
                    <p class="result-subtitle">请保留截图以作为入场凭证</p>
                </div>
                <div class="result-item-wrap result-info-wrap">
                    <div class="user-number">{$sign_info.sign_no}</div>
                    <div class="user-number-title">—— 入场编号 ——</div>
                    <div class="user-info-view flex rcc">
                        <span class="user-info-item">{$sign_info.username}</span>
                        <span class="user-info-item">|</span>
                        {if $activity_info.id > 1}
                        <!-- <span class="user-info-item">{$sign_info.school_name}</span> -->
                        <span class="user-info-item">{$sign_info.purpose}</span>
                        {else /}
                        <!-- <span class="user-info-item">{$sign_info.graduated_school}</span> -->
                        <span class="user-info-item">{$sign_info.job_type}</span>
                        {/if}
                    </div>
                </div>
                <div class="separator-wrap"></div>
                <div class="result-item-wrap company-info-wrap">
                    <div class="info-title">{$activity_info.title}</div>
                    <div class="info-subtitle">
                        <span class="subtitle-item">{$activity_info.opening_date}</span>
                        <span class="subtitle-item">{$activity_info.address}</span>
                    </div>
                    <a href="{$activity_info.link}" class="info-btn-item">{$activity_info.link_title}>></a>
                </div>
            </div>
        </div>
        <div class="btn-wrap fix-btn-wrap pos-f">
            <a class="btn-item flex ccc" href="{:url('index/index')}">
                <img src="__INDEX__/icon/icon_home.png" class="btn-icon" />
                <span class="btn-title">返回首页</span>
            </a>
        </div>
    </div>
    {include file='public/public_script' /}

    <script>
        $(function() {
            var aid = "{$activity_info.id}";
            var sign_id = "{$sign_info.id}";
            if (!sign_id) {
                if (aid > 1) {
                    localStorage.removeItem("sign_id_2");
                } else {
                    localStorage.removeItem("sign_id_1");
                }
                window.location.href = "{:url('index/detail')}?aid=" + aid;
            }
        })
    </script>
</body>
</html>